<?php
namespace app\controllers\merchant\uni\marketing;

use app\controllers\admin\base\AdminController;
use app\models\marketing\MarketingGroupLevel as Model;

/**
 * Class BasicController
 * @package app\controllers\admin\uni\marketing
 */
class GroupLevelController extends AdminController
{
    public function actionList()
    {
        $list = Model::find()
            ->orderBy(['id' => SORT_ASC])
            ->asArray()
            ->all();

        return $this->success($list);
    }
}